// 按钮类型定义
.fun-btnType(@type: "success") {
  @color: "@{type}-color";
  @color-hover: "@{color}-hover";
  background-color: white !important;
  border-color: @@color  !important;
  color: @@color  !important;


  &:hover,
  &:focus {
    border-color: @@color-hover  !important;
    color: @@color-hover  !important;
  }

  &.ant-btn-primary {
    background-color: @@color  !important;
    border-color: @@color  !important;
    color: white !important;

    &:hover,
    &:focus {
      background-color: @@color-hover  !important;
      border-color: @@color-hover  !important;
    }
  }

  &:disabled {
    background-color: rgba(@@color, .5) !important;
    border-color: rgba(@@color, .5) !important;

    &:hover,
    &:focus {
      background-color: rgba(@@color, .5) !important;
      border-color: rgba(@@color, .5) !important;
    }
  }
}